JavaScript Debugger Modules > What is a JavaScript Debugger Module? > reportWarning()

 

reportWarning()

Availability

Dreamweaver 4.0

Description

Called when a warning is detected in the file.

Arguments

fileName, errorNumber, strDesc, lineNumber, offset

fileName is the name of the file.
errorNumber is the numeric identifier of the warning that occurred.
strDesc is the description of the warning.
lineNumber is the line number in which the warning occurred, relative to the start of the block.
offset is the offset of the character at which the warning occurred, relative to the start of the block.

Returns

Nothing.